package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题目信息对象 rating_content
 * 
 * @author ruoyi
 * @date 2024-11-18
 */
public class RatingContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 内容主键Id自增 */
     @Excel(name = "序号")
    private Long contentId;

    /** 评分内容名称 */
    @Excel(name = "评分内容名称")
    private String contentName;
 @Excel(name = "所属类型")
     private String categoryName;
 @Excel(name = "所属大类")
     private String gradeName;
    /** 所属类别，外键，引用评分类别主键 */
    private Long category;


    /** 等级1：强 2：中 3：弱 */
    private Long grade;

    /** 强中弱的打分区间 */
    @Excel(name = "打分区间")
    private String gradeRanges;

    public void setContentId(Long contentId) 
    {
        this.contentId = contentId;
    }

    public Long getContentId() 
    {
        return contentId;
    }
    public void setContentName(String contentName) 
    {
        this.contentName = contentName;
    }

    public String getContentName() 
    {
        return contentName;
    }
    public void setCategory(Long category) 
    {
        this.category = category;
    }

    public Long getCategory() 
    {
        return category;
    }
    public void setGrade(Long grade) 
    {
        this.grade = grade;
    }

    public Long getGrade() 
    {
        return grade;
    }
    public void setGradeRanges(String gradeRanges) 
    {
        this.gradeRanges = gradeRanges;
    }

    public String getGradeRanges() 
    {
        return gradeRanges;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contentId", getContentId())
            .append("contentName", getContentName())
            .append("category", getCategory())
            .append("grade", getGrade())
            .append("gradeRanges", getGradeRanges())
            .toString();
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }
}
